import UserSystem from '@/components/portals/UserSystem'
import Index from '@/components/portals/Index'
import Register from '@/components/portals/Register'
import Login from '@/components/portals/employee/Login'
import Message from '@/components/portals/employee/Message'

var portals = [
  {
    path: '/register',
    name: 'register',
    component: Register 
  },
  {
    path: '/index',
    name: 'index',
    component: Index
  },
  {
    path: '/user',
    name: 'user',
    component: UserSystem,
    children: [
      {
        path: '',
        redirect: 'employee/login'
      },
      {
        path: 'employee/login',
        component: Login 
      },
      {
        path: 'employee/message',
        component: Message 
      }
    ]
  }]

export {portals}